#if !defined(AFX_DLGMAPLIST_H__43C01801_5CDD_4E52_ADD6_62E892E79AEF__INCLUDED_)
#define AFX_DLGMAPLIST_H__43C01801_5CDD_4E52_ADD6_62E892E79AEF__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DlgMapList.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CDlgMapList dialog

class CDlgMapList : public CDialog
{
private:
	int			m_nSelMapSort;
	CImageList	m_ImageList; 
	void    	SelectRow(int nRow) ;
public:
	void	FillList();
	void	ClearList();
	void	FillMapType();
 	void	SelectMapType(int nMapType);
	void	SetRowChecked(int nMapID);
	CDlgMapList(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CDlgMapList)
	enum { IDD = IDD_Dlg_MapUnit_MapList };
	CListCtrl	m_List;
	//}}AFX_DATA

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDlgMapList)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CDlgMapList)
	afx_msg void OnSize(UINT nType, int cx, int cy);
	virtual BOOL OnInitDialog();
	afx_msg void OnDestroy();
	virtual BOOL PreTranslateMessage(MSG* pMsg);
//	afx_msg void OnDblclkList(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnClickList(NMHDR* pNMHDR, LRESULT* pResult);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnCbnSelchangeComboMaptype();
	afx_msg void OnCbnSelendokComboMaptype();
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_DLGMAPLIST_H__43C01801_5CDD_4E52_ADD6_62E892E79AEF__INCLUDED_)
